package com.github.niefy.modules.third.dto.in;

import com.github.niefy.common.utils.Json;
import com.github.niefy.modules.third.dto.SpmIn;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 批量拉取待发送模板消息信息
 * */
@EqualsAndHashCode(callSuper = true)
@Data
public class ThirdTemplateMsgIn_001 extends SpmIn {

    private List<StuMsgInfo> msglist;

    @Data
    public class StuMsgInfo {
        private Long msgid;
        private String msgtypename;
        private String msgtypeid;
        private Integer batchno;
        private String batchname;
        private String studentno;
        private String studentname;
        private String msgtitle;
        private String msgcontent;
        private String validflag;
        private Long operatedate;
        private String pushflag;
        private Long msgpushseqid;
        private Long msgpushdate;
        private String msgpushdatestr;
    }

    @Override
    public String toString() {
        return Json.toJsonString(this);
    }
}
